<?php
// Form视图模型
class KeywordArticleViewModel extends ViewModel {
    protected $viewFields = array( 
        
        'Keyword_relation'=>array('main_id','keyword_id','type','keyword_order'),
        //'Keyword'=>array('id','key_name','key_count','state','_on'=>'Keyword.id=Keyword_relation.keyword_id'),
        'Article'=>array('aid','uid','group_id','create_time','uname','name','content','group_name','use_count','useless_count','state','_on'=>'Article.aid=Keyword_relation.main_id')
 
   );
}
?>